package com.book.dao;

import com.book.pojo.OrderBook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderBookDao {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderBook record);

    int insertSelective(OrderBook record);

    OrderBook selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderBook record);

    int updateByPrimaryKey(OrderBook record);

    List<OrderBook> getListByUCode(String uCode);

    OrderBook getOrderByNo(String orderNo);

    List<OrderBook> getOrderBySearch(@Param("uCode") String uCode,@Param("text") String text,@Param("status") Integer status);
}